﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RatingHelper.DAL
{
    public partial class UserInfo
    {
        /// <summary>
        /// get application's identities
        /// </summary>
        /// <returns></returns>
        public IEnumerable<string> GetAppIDs()
        {
            foreach (var myMembership in this.MemberShipDic.AppGrantMembership)
            {
                yield return myMembership.AppID.ToString();
            }
        }
    }
}
